﻿@model Catalog
@{
    Layout = "";
    var catalog = Model;
    var parentCatalog = catalog.Parent;
    var key = catalog.Key;

    if (parentCatalog != null && parentCatalog.Key != "Product")
    {
        parentCatalog = null;
    }

    if (parentCatalog != null)
    {
        key = parentCatalog.Key;
    }

    ViewBag.Nav = key;
    ViewBag.Title = catalog.Name;
}
@Html.Partial("_DetailForService2")



